package com.mark.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

/**
 * @author: yangguoxiong
 * @date: 2022/4/3 18:37
 * @description:
 */
@Data
@ToString
@TableName(value = "order_2")
public class Order2 {

    @TableId(value = "order_id", type = IdType.ASSIGN_ID)
    private Long orderId;

    @TableField(value = "name")
    private String name;

    @TableField(value = "user_id")
    private Long userId;

    @TableField(value = "status")
    private Integer status;

}